public class Dog {
    public String name;
    public String color;
    public int age;

    public void bags(){
        System.out.println(name+"汪汪叫...");
    }

    public void wag(){
        System.out.println(name+"摇尾巴...");
    }

    public  void  eat(){
        System.out.println(name+"吃骨头...");
    }

}
